//
//  WHUser.swift
//  8.31-WH微博
//
//  Created by 吴涵 on 15/9/10.
//  Copyright © 2015年 wuhan. All rights reserved.
//

import UIKit

class WHUser: NSObject {
/// 用户 ID
    var id : Int = 0
/// 友好显示名称
    var name: String?
/// 用户头像地址
    var profile_image_url: String?
/// 认证类型 -1没有认证,,0认证用户,, 2和3和5企业用户，220达人
    var verified: Int = 0
    ///会员等级
    var mbrank: Int = 0
    
    
    init(dict: [String: AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dict)
    }
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
    }
    
    override var description : String {
    let keys = ["mbrank","verified","name","profile_image_url","id"]
    
    return dictionaryWithValuesForKeys(keys).description
    }
    
    
    
}
